export const fetchDataPost = async (url: string, body: object) => {
  const res = await fetch(url, {
    method: 'POST',
    body: JSON.stringify(body),
  });
  const data = await res.json();
  return data;
};
